<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>保存或更新</title>
</head>
<body>
<h3>新增</h3>
<br>
<form action="save" method="post">
    <table>
        <tr>
            <td><label>姓名：</label></td>
            <td><input type="text" id="name" name="name" value="${name}" ></td>
        </tr>
        <tr>
            <td><label>地址：</label></td>
            <td><input type="text" id="address" name="address" value="${address}" ></td>
        </tr>
        <tr>
            <td><label>电话：</label></td>
            <td><input type="text" id="phone" name="phone" value="${phone}" ></td>
        </tr>
        <tr>
            <td><input id="submit" type="submit" value="提交"   ></td>
            <td><input id="button"  type="button" value="返回"  onclick="goback()"  ></td>
        </tr>
    </table>
</form>

</body>

<script>
    function goback() {
         window.location.href="queryAll" ;
    }
</script>
</html>
